﻿<%@ Page Title="Bloquear/Desbloquear Usuários" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="BloquearDesbloquearUsuarios.aspx.cs" Inherits="AcadPosApp.Seguranca.BloquearDesbloquearUsuarios" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="pnlBloqueioDesbloqueioUser" runat="server" GroupingText="Bloquear/Desbloquear Usuários">
        <asp:GridView ID="gvwPesquisa" runat="server" AutoGenerateColumns="False" CssClass="mGrid"
            DataKeyNames="USERNAME" EmptyDataText="Dados não localizados..." GridLines="Vertical"
            Width="45%" PageSize="100">
            <AlternatingRowStyle BackColor="#D3D3D3" />
            <Columns>
                <asp:CommandField ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/Imagens/select.png" />
                <asp:BoundField DataField="USERNAME" HeaderText="Nome">
                    <ItemStyle HorizontalAlign="Left" Width="70%" />
                </asp:BoundField>
                <asp:BoundField DataField="EMAIL" HeaderText="E-mail">
                    <ItemStyle HorizontalAlign="Left" Width="20%" />
                </asp:BoundField>
                <asp:BoundField DataField="SITUACAO" HeaderText="Status">
                    <ItemStyle HorizontalAlign="Center" Width="10%" />
                </asp:BoundField>
            </Columns>
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle CssClass="pagination" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#1E90FF" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        <br />
        <div class="legenda">
            <asp:Button ID="btnBloquearDesbloq" runat="server" OnClick="btnBloquearDesbloq_Click"
                Text="Bloquear/Desbloquear" />
        </div>
        <br />
    </asp:Panel>
</asp:Content>
